package com.ylsk.check.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ylsk.check.domain.DeptConsUser;
import com.ylsk.check.domain.so.DeptConsUserSO;
import com.ylsk.check.domain.vo.DeptConsUserVO;

/**
 * 大队施工人员Mapper接口
 *
 * @author yangsy
 * @date 2024-01-29
 */
public interface DeptConsUserMapper extends BaseMapper<DeptConsUser>
{
    /**
     * 查询大队施工人员
     *
     * @param deptConsUserId 大队施工人员主键
     * @return 大队施工人员
     */
    public DeptConsUser selectDeptConsUserByDeptConsUserId(Long deptConsUserId);

    /**
     * 查询大队施工人员列表
     *
     * @param deptConsUserSO 大队施工人员
     * @return 大队施工人员集合
     */
    public List<DeptConsUserVO> selectDeptConsUserList(DeptConsUserSO deptConsUserSO);

    /**
     * 新增大队施工人员
     *
     * @param deptConsUser 大队施工人员
     * @return 结果
     */
    public int insertDeptConsUser(DeptConsUser deptConsUser);

    /**
     * 修改大队施工人员
     *
     * @param deptConsUser 大队施工人员
     * @return 结果
     */
    public int updateDeptConsUser(DeptConsUser deptConsUser);

    /**
     * 删除大队施工人员
     *
     * @param deptConsUserId 大队施工人员主键
     * @return 结果
     */
    public int deleteDeptConsUserByDeptConsUserId(Long deptConsUserId);

    /**
     * 批量删除大队施工人员
     *
     * @param deptConsUserIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDeptConsUserByDeptConsUserIds(Long[] deptConsUserIds);
}
